package com.lin.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 林伟鸿
 * @since 2021-11-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class UserBalance implements Serializable {

    private static final long serialVersionUID = 1L;

        /**
     * 用户编号
     */
         @TableId(value = "user_id", type = IdType.ID_WORKER)
    private Integer userId;

        /**
     * 用户账户余额
     */
         private Integer money;

        /**
     * 最近充值时间
     */
        @TableField(fill = FieldFill.INSERT_UPDATE)
        private Date updateTime;


}
